Class symantec.itools.awt.StatusBar
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.StatusBar

Object
   |
   +----Component
           |
           +----Container
                   |
                   +----Panel
                           |
                           +----BorderPanel
                                   |
                                   +----symantec.itools.awt.StatusBar

public class StatusBar
extends BorderPanel
Use a StatusBar to show document status and other information, like the meaning of a button or other user interface element in a window. Typically, a status bar appears at the bottom of a window.

Version:
1.1, July 18, 1997
Author:
Symantec

Variable Index

 o text
The text to display.
 o textColor
The color of the displayed text.

Constructor Index

 o symantec.itools.awt.StatusBar()
Constructs a default StatusBar.

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
Adds a listener for all event changes.
 o addVetoableChangeListener(VetoableChangeListener)
Adds a vetoable listener for all event changes.
 o clear()
Clears the text that gets displayed.
 o getStatusText()
Gets the text currently displayed.
 o getStatusTextColor()
Gets the text color currently displayed.
 o removePropertyChangeListener(PropertyChangeListener)
Removes a listener for all event changes.
 o removeVetoableChangeListener(VetoableChangeListener)
Removes a vetoable listener for all event changes.
 o setLayout(LayoutManager)
Takes no action.
 o setStatusText(String)
Sets the text that is displayed.
 o setStatusTextColor(Color)
Sets the color of the text that is displayed.

Variables

 o text
protected java.awt.Label text
The text to display.

 o textColor
protected java.awt.Color textColor
The color of the displayed text.

Constructors

 o StatusBar
public StatusBar()
Constructs a default StatusBar. It is constructed with the BEVEL_LINE style.

Methods

 o addPropertyChangeListener
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)
Adds a listener for all event changes.

Parameters:
listener - the listener to add.
Overrides:
addPropertyChangeListener in class BorderPanel
See Also:
removePropertyChangeListener
 o addVetoableChangeListener
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)
Adds a vetoable listener for all event changes.

Parameters:
listener - the listener to add.
Overrides:
addVetoableChangeListener in class BorderPanel
See Also:
removeVetoableChangeListener
 o clear
public void clear()
Clears the text that gets displayed.

See Also:
setStatusText
 o getStatusText
public java.lang.String getStatusText()
Gets the text currently displayed.

Returns:
the text currently displayed
See Also:
setStatusText
 o getStatusTextColor
public java.awt.Color getStatusTextColor()
Gets the text color currently displayed.

Returns:
the current color of displayed text
See Also:
setStatusTextColor
 o removePropertyChangeListener
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)
Removes a listener for all event changes.

Parameters:
listener - the listener to remove.
Overrides:
removePropertyChangeListener in class BorderPanel
See Also:
addPropertyChangeListener
 o removeVetoableChangeListener
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)
Removes a vetoable listener for all event changes.

Parameters:
listener - the listener to remove.
Overrides:
removeVetoableChangeListener in class BorderPanel
See Also:
addVetoableChangeListener
 o setLayout
public void setLayout(LayoutManager l)
Takes no action. This is a standard Java AWT method which gets called to specify which layout manager should be used to layout the components in standard containers. Since layout managers CANNOT BE USED with this container the standard setLayout has been OVERRIDDEN for this container and does nothing.

Parameters:
l - the layout manager to use to layout this container's components (IGNORED)
Overrides:
setLayout in class BorderPanel
See Also:
getLayout
 o setStatusText
public void setStatusText(String s) throws PropertyVetoException
Sets the text that is displayed.

Parameters:
s - the new text to display
Throws: PropertyVetoException
if the specified property value is unacceptable
See Also:
getStatusText
 o setStatusTextColor
public void setStatusTextColor(Color c) throws PropertyVetoException
Sets the color of the text that is displayed.

Parameters:
s - the new text color
Throws: PropertyVetoException
if the specified property value is unacceptable
See Also:
getStatusTextColor

All Packages  Class Hierarchy  This Package  Previous  Next  Index